﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Snake
{
    class Program
    {
        static void Main(string[] args)
        {
            GameField gameField = new GameField(10, 10, 5, 5);
            Painter painter = new Painter('#');
            KeyboardHendler handler = new KeyboardHendler();
            ConsoleNode playerNode = new ConsoleNode(7, 7, ConsoleColor.DarkGreen, 'K');

            GameLogic game = new GameLogic(gameField, painter, playerNode, handler);
            //game.PlayGame();

            game.StartGame();
            Console.ReadKey();
        }
    }
}
